package work.person;

import work.fram.GroupsWrapper;

import java.util.UUID;

public class PersonGW extends GroupsWrapper {

    private String id;

    @Override
    public boolean beforeEnter() {
        id = UUID.randomUUID().toString();
        return true;
    }

    @Override
    public void afterExist() {
        id = null;
    }

    public String getId() {
        return id;
    }
}
